/* 
 * File:   Road.h
 * Author: mikey
 *
 * Created on August 25, 2010, 10:03 PM
 */

#ifndef ROAD_H
#define	ROAD_H

#include "Lane.h"

class Road {
public:
    Road();                         // Detauls Road constructor with default number of lanes (1).
    Road(int);                      // Road constructor with type bool and number of lanes (int max 4).
    Lane getLane(int);              // Return lane int for data manipulation.
    void setRoadProbability(float roadProbability);
    float getRoadProbability();
    int getNumLanes();
private:
    Lane carLane[8];        // Array holding the lane objects that belong to this road.
    int numLanes;           // The number of lanes that should be utilized.
    float roadProbability;  // Probability of a car entering the lane in a cycle.
    
};

#endif	/* ROAD_H */

